.TH E1432_SET_TACH_IRQ_NUMBER 3 E1432
.SH NAME
.nf
e1432_set_tach_irq_number \- Set number of tachs per irq
e1432_get_tach_irq_number \- Get number of tachs per irq
.fi
.IX e1432_set_tach_irq_number(3) 3
.IX e1432_get_tach_irq_number(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_tach_irq_number(E1432ID hw, SHORTSIZ16 ID,
                               LONGSIZ16 number)
SHORTSIZ16 e1432_get_tach_irq_number(E1432ID hw, SHORTSIZ16 ID,
                               LONGSIZ16 *number)
.cE
.SH DESCRIPTION
\fIe1432_set_tach_irq_number\fR sets the number of tachs present in the 
internal raw tach buffer before the \fBE1432_IRQ_TACHS_AVAIL\fR bit is
set in the \fBE1432_IRQ_STATUS2_REG\fR register and, if enabled, a tach
available interrupt generated.  This can be used in the host to regulate
the frequency at which the \fIe1432_get_raw_tachs\fR or 
\fIe1432_send_tachs\fR functions are called.

\fIe1432_get_tach_irq_number\fR returns the number of tachs per irq.

This parameter is a "global" parameter.  It applies to an entire E1432
module rather than to one of its channels.  The \fIID\fR parameter is
used only to identify which module the function applies to, and all
channels in that module will report the same value for this parameter.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is either the ID of a group of channels that was obtained with a
call to \fIe1432_create_channel_group\fR, or the ID of a single channel.

\fInumber\fR selects the number of tachs in the raw tach buffer necessary
to set the tach available bit.
.SH "RESET VALUE"
After a reset, \fInumber\fR is set to \fB64\fR.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_send_tachs, e1432_get_raw_tachs
.ad
